<div class="view left" id="reply-<?php echo $data->com_id; ?>" cid="<?php echo $data->com_id; ?>" style="width:100%;" onmouseover="resourceHover($(this));">
	<div class="left" style="width:100px;">
	    <span class="left" style="padding-top:20px;">
			<input type="checkbox" name="resource-item" value="<?php echo $data->com_id;?>" />
		</span>
	   	&nbsp;
	   	<?php echo Comment::model()->getCommentIco($data);?>		
	</div>
	<div style="margin-left:110px;margin-top:0px;padding-top:0px;">
		<?php //UtilTools::dump($data->attributes);?>
		<div class="arc">
			<div class="arc-title" style="width:100%;height:20px;overflow:hidden;">
				<span class="left">
					<?php echo CHtml::encode(Comment::model()->getCommentResourceTitle($data)); ?>
				</span>
				<div class="left" style="width:100px;">	
		            <span name="<?php echo Comment::model()->getCommentResourceIsComment($data)==Article::COMMENT_ALLOW?Article::COMMENT_CANCEL:Article::COMMENT_ALLOW;?>" class="left ui-icon ui-icon-<?php echo Comment::model()->getCommentResourceIsComment($data)?'un':'';?>locked" title="<?php echo Comment::model()->getCommentResourceIsComment($data)?'un':'';?>Locked" id="<?php echo $data->com_id;?>"  onclick="actionResourceIsComment($(this));"></span>
	       		</div>	
	       	</div>
	       	<div class="arc-content" style="width:100%;">
	       		<div class="arc-note">
	       			来自于<?php echo long2ip($data->com_ip);?>的<?php echo $data->com_author;?>，于<?php echo UtilTools::timeop($data->com_create);?>评论说
	       		</div>
				<?php echo CHtml::encode($data->com_contents); ?>
				<div class="arc-note">	
												
						<?php echo Yii::t('comment', 'Status：{status}&nbsp;&nbsp;Total {count} Comments',array(
							'{count}' => count(Comment::model()->getComments($data)),
							'{status}' => Comment::model()->getCommentResourceStatus($data)
						))?>
				</div>       	
	       	</div>
		</div>
	</div>
	<hr />
</div>
